Intro
Basic calendar view
Just a basic calendar view. Can be a starter to create your own calendar.
Component has a slot where you can add your own 'day' element.
Demo
Attributes
week-start 0 for Sunday
1 for Monday
Defaults to SundayEvents
selectedDate Returns the date in an object:
{ day: day, month: month, year: yeah }
Basic view (current month)
Component: calendar-view
Attributes
week-start 0 for Sunday
1 for Monday
Defaults to SundayEvents
selectedDate Returns the date in an object:
{ day: day, month: month, year: yeah }
Header
Component: calendar-header
Events
currentView Returns a view that the calendar-view component can use.
Use it in conjunction with the main calendar-view if you want to add basic navigation